package com.kylin.merchant.api.dto.req;

import com.kylin.artwork.api.dto.req.PageableReqDTO;
import com.kylin.shared.enums.YesNoEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 查询商户参数
 * @author Wall.
 * @version v1.0.1
 * @date 2020年06月01日 10:57
 */
@Data
@Builder
@ApiModel(value = "查询商户参数")
public class QueryMerchantReqDTO extends PageableReqDTO implements Serializable {

    @NotNull
    @ApiModelProperty(value = "商户ID")
    private Long merchantId;

    @NotNull
    @ApiModelProperty(value = "商户名称")
    private String username;

    @ApiModelProperty(value = "商户密码")
    private String password;

    @ApiModelProperty(value = "商户盐")
    private String salt;

    @ApiModelProperty(value = "商户电话")
    private String phone;
    @ApiModelProperty(value = "商户电子邮箱")
    private String email;
    @ApiModelProperty(value = "商户QQ")
    private String qq;

    @ApiModelProperty(value = "商户角色")
    private String roles;

    @ApiModelProperty(value = "商户状态")
    private Integer state;

    @ApiModelProperty(value = "是否删除")
    private YesNoEnum removed;

}
